import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;


public class Teste {
	
	Conexao conexao;
	Connection connection;
	Statement stmt;
	
	public Teste() {
		conexao = Conexao.getInstance();
		connection = conexao.getConnection();
	}
	
	public void getTables(){
		
		try {
			
			stmt = connection.createStatement();
			ResultSet rset = stmt.executeQuery("SELECT table_name FROM user_tables");
			
			System.out.println(rset);
			System.out.println(rset.toString());
			
		} catch (SQLException e) {
			e.printStackTrace();
		}
		
	}
	
}
